import { CmdCode, EventCode } from '../../code/index';
import { CmdSignModel, DoctorGrouponAuditModel } from '../../models/index';
import { AHttpCmd } from '../base.cmd';

export class DoctorGrouponAuditGetCmd extends AHttpCmd {
    constructor(private hospitalId?: number) {
        super();
    }

    req(): CmdSignModel {
        let model: DoctorGrouponAuditModel = new DoctorGrouponAuditModel();
        if(this.hospitalId) model.hospitalId = this.hospitalId;
        return super.buildCmdSign(model);
    }

    resp(data: any): void {
    }

    error(model: CmdSignModel): void {
    }

    getCmdCode(): string {
        return CmdCode.DOCTOR_GROUPON_AUDIT_GET;
    }
}
